<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />		
		<meta name="author" content="" />
		<meta name="last-edit" content="2023.03.09" />
		<title>安装jQuery</title>
    <script type="text/javascript" src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script>
      window.jQuery || document.write(`<script type="text/javascript" src="./libs/jquery2.0.0.min.js">`)
    </script>
		<style type="text/css">

			
		</style>

		<body>
      <!-- <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> -->
      <div id="div" class="div">divdivdivdivdivdivdivdivdivdivdivdivdiv</div>
      <div id="div2" class="div">div2</div>

			<script type="text/javascript">
        // 自执行函数
        $(function(){
          console.log($('#div'));
          console.log($('.div'));
        })
			</script>
		</body>
	</head>

</html>